@media print {
}
* {
  box-sizing: border-box;
}
body,
ul,
li,
h1, h2, h3, h4, h5, h6,
p {
  margin: 0;
}
body {
  height: 100%;
  width: 100%;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
  color: rgba(0,0,0,.65);
  font-size: 14px;
}
input[type=text] {
  box-sizing: border-box;
  margin: 0;
  font-variant: tabular-nums;
  list-style: none;
  font-feature-settings: "tnum";
  position: relative;
  display: inline-block;
  width: 100%;
  height: 32px;
  padding: 4px 11px;
  color: rgba(0,0,0,.65);
  font-size: 14px;
  line-height: 1.5;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  transition: all .3s;
}
.app {
  max-width: 1200px;
  margin: 0 auto;
}
.word-row {
  padding: 10px 0;
  border-top: 1px dashed #d9d9d9;
}
.flex-row {
  display: flex;
  align-items: center;
  padding: 5px 0;
}
.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.prefix-line:before {
  content: "-";
  margin: 0 5px;
}
.sn {
  font-size: 14px;
  margin: 0 5px;
  width: 30px;
  text-align: center;
}

.flex-1 {
  flex: 1;
}
.underline {
  text-decoration: underline;
  cursor: pointer;
  color: #1890ff;
  margin: 0 2px;
}

.word {
  font-weight: 600;
  width: 150px;
}
.phonogram {
  font-size: 12px;
  font-style: italic;
  word-break: keep-all;
  display: inline-flex;
}
.trans,
.sentence,
.meaning {
  padding: 8px 0;
}
.title {
  padding: 10px 0;
}
.word-list {
  position: relative;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.word-list .word-item {
  margin: 0px 10px 15px 0;
}
.word-item {
  padding: 7px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  cursor: pointer;
  min-width: 60px;
  color: rgba(0,0,0,.65);
  text-align: center;
  font-size: 14px;
  box-shadow: 0 2px 0 rgba(0,0,0,.015);
  transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}
.word-item.selected {
  color: #1890ff;
  border-color: #1890ff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.12);
  box-shadow: 0 2px 0 rgba(0,0,0,.045);
}
.word-item[type=primary] {
  color: #fff;
  background-color: #1890ff;
  border-color: #1890ff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.12);
  box-shadow: 0 2px 0 rgba(0,0,0,.045);
}
.group-name {
  line-height: 20px;
  padding: 10px;
  cursor: pointer;
}
.word-group {
  border: 1px dashed;
  padding: 0px 10px;
  margin-top: 15px;
}
.word-group.selected {
  border: 1px solid #1890ff;
  box-shadow: 0 0 5px #1890ff inset;
}
.modal-footer .word-item {
  margin-right: 10px;
}

.v-enter-active,
.v-leave-active {
  transition: opacity 0.5s ease;
}

.v-enter-from,
.v-leave-to {
  opacity: 0;
}
[v-cloak]{
  display: none;
}
/* 1. 声明过渡效果 */
.fade-move,
.fade-enter-active,
.fade-leave-active {
  transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

/* 2. 声明进入和离开的状态 */
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  transform: scaleY(0.01);
}

/* 3. 确保离开的项目被移除出了布局流
      以便正确地计算移动时的动画效果。 */
.fade-leave-active {
  position: absolute;
}

.modal-container{
  width: 0;
  height: 0;
}
.modal-container .mask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal {
  width: 800px;
  min-height: 100px;
  max-height: 90%;
  border: 1px solid #aaa;
  border-radius: 6px;
  background-color: #fff;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
.modal-body {
  padding: 30px 20px;
  overflow: auto;
  flex: 1;
}
.modal-title {
  padding: 20px;
  width: 100%;
  border-bottom: 1px solid #aaa;
  color: rgba(0,0,0,.85);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  word-wrap: break-word;
}
.modal-footer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #000;
  padding: 10px;
}
